package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Menus;
import org.darkforest.model.MenusVo;

import java.util.List;
import java.util.Map;

@DBMapper
public interface MenusMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menus record);

    int insertSelective(Menus record);

    Menus selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menus record);

    int updateByPrimaryKey(Menus record);

    List selectByCondition(Map map);

    List selectByCondition(MenusVo map);
}